/*
    Project:        Home Power Control
    File:           HPCAlarmValue.h
    Author:         christian@karunamusic.at
    Date:           01.2015
    Description:
 */

#ifndef HPCALARMVALUE_H
#define HPCALARMVALUE_H

#include "HPCValue.h"

class HPCAlarmValue : public HPCValue
{
public:
    /** \brief Constructor.
     */
    HPCAlarmValue();
    /** \brief Constructor to set from a QVariant.
     *
     * \param val The value as QVariant.
     */
    HPCAlarmValue( const QVariant& val );
    /** \brief Destructor.
     */
    virtual ~HPCAlarmValue();

    bool Alarmed() const;
    HPCAlarmValue& Alarmed(bool val);

private:
    bool m_Alarmed;
};

#endif // HPCALARMVALUE_H
